package hu.arguscab.ai;

import java.util.Iterator;

/**
 *
 * @param <E> The data type that <code>Edge</code> contain. 
 * @param <N> The data type that <code>Node</code> contain. 
 * @author sharp
 */
public abstract class GraphIterator<E, N> implements Iterator<Node<N>> {

	private Graph<E, N> graph;

	public GraphIterator(Graph<E, N> graph) {
		this.graph = graph;
	}

	public final Graph<E, N> getGraph() {
		return graph;
	}
}
